package com.joizhang.seckill.api.service;

import com.joizhang.seckill.api.redis.UserKey;
import com.joizhang.seckill.api.vo.UserVo;

public interface DemoService {

    void doubleInsert();

    UserVo getUserById(Long i);

    Boolean setRedis(UserKey userKey, String key, UserVo userVo);

    UserVo getRedis(UserKey userKey, String s, Class<UserVo> userVoClass);

    Boolean initRedis();

    void sendToMQ(String s);

}
